package cn.itsource.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * 文章表的对象
 */
@Data
@Table(name = "blog_article_type")
public class BlogArticleType {
    @Id
    private Long id;
    @Column(name = "type_name")
    private String typeName;
    private Integer status;
    @Column(name = "update_user_name")
    private String updateUserName;
//    修改的时间
    @Column(name = "update_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;
}
